package com.zh.service;

import com.github.pagehelper.PageInfo;
import com.zh.po.Order;

/**
 * @author ふわふわ
 * @version 1.0
 * @description:
 * @date 2021/4/15 20:48
 */
public interface OrderService {
    PageInfo<Order> page(Integer pageNum,Integer pageSize);
    int cancelOrder(Integer orderId);//取消订单
    int confirmOrder(Integer orderId);//确认发货
    int confirmReceipt(Integer orderId);//确认收货
    int refund(Integer orderId);//申请退款
    int accessRefund(Integer orderId);//同意退款
    int backRefund(Integer orderId);//驳回、取消退款
    int backMoney(Integer orderId);//退款
    int addOrder(Order order);
    Order findOrderById(Integer orderId);
    int pay(Integer orderId);
    Order getOrderById(Integer orderId);
    int updateAddress(Order order);
}
